package com.ysy.tz.mfg.entity;

import java.math.BigDecimal;
import java.util.Date;

public class GradingDetailEntity extends BaseEntity {
    private Integer seqId;
    private Integer supplierId;
    private String supplierCode;
    private String supplierName;
    private String billNo;
    private BigDecimal weight;
    private String levelCode;
    private String originalLevelCode;
    private String changeLevelWhenPrint;
    private Integer serialNum;
    private Integer seqNum;
    private String barcode;
    private String slaughterType;
    private String gender;
    private String mjType;
    private String createUserCode;
    private String createUserName;
    private Date createUserTime;
    private Date createBeginTime;
    private Date createEndTime;
    private String editUserCode;
    private String editUserName;
    private Date editUserTime;

    public GradingDetailEntity() {
    }

    public Integer getSeqId() {
        return this.seqId;
    }

    public Integer getSupplierId() {
        return this.supplierId;
    }

    public String getSupplierCode() {
        return this.supplierCode;
    }

    public String getSupplierName() {
        return this.supplierName;
    }

    public String getBillNo() {
        return this.billNo;
    }

    public BigDecimal getWeight() {
        return this.weight;
    }

    public String getLevelCode() {
        return this.levelCode;
    }

    public String getOriginalLevelCode() {
        return this.originalLevelCode;
    }

    public String getChangeLevelWhenPrint() {
        return this.changeLevelWhenPrint;
    }

    public Integer getSerialNum() {
        return this.serialNum;
    }

    public Integer getSeqNum() {
        return this.seqNum;
    }

    public String getBarcode() {
        return this.barcode;
    }

    public String getSlaughterType() {
        return this.slaughterType;
    }

    public String getGender() {
        return this.gender;
    }

    public String getMjType() {
        return this.mjType;
    }

    public String getCreateUserCode() {
        return this.createUserCode;
    }

    public String getCreateUserName() {
        return this.createUserName;
    }

    public Date getCreateUserTime() {
        return this.createUserTime;
    }

    public Date getCreateBeginTime() {
        return this.createBeginTime;
    }

    public Date getCreateEndTime() {
        return this.createEndTime;
    }

    public String getEditUserCode() {
        return this.editUserCode;
    }

    public String getEditUserName() {
        return this.editUserName;
    }

    public Date getEditUserTime() {
        return this.editUserTime;
    }

    public void setSeqId(Integer seqId) {
        this.seqId = seqId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public void setLevelCode(String levelCode) {
        this.levelCode = levelCode;
    }

    public void setOriginalLevelCode(String originalLevelCode) {
        this.originalLevelCode = originalLevelCode;
    }

    public void setChangeLevelWhenPrint(String changeLevelWhenPrint) {
        this.changeLevelWhenPrint = changeLevelWhenPrint;
    }

    public void setSerialNum(Integer serialNum) {
        this.serialNum = serialNum;
    }

    public void setSeqNum(Integer seqNum) {
        this.seqNum = seqNum;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public void setSlaughterType(String slaughterType) {
        this.slaughterType = slaughterType;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setMjType(String mjType) {
        this.mjType = mjType;
    }

    public void setCreateUserCode(String createUserCode) {
        this.createUserCode = createUserCode;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public void setCreateUserTime(Date createUserTime) {
        this.createUserTime = createUserTime;
    }

    public void setCreateBeginTime(Date createBeginTime) {
        this.createBeginTime = createBeginTime;
    }

    public void setCreateEndTime(Date createEndTime) {
        this.createEndTime = createEndTime;
    }

    public void setEditUserCode(String editUserCode) {
        this.editUserCode = editUserCode;
    }

    public void setEditUserName(String editUserName) {
        this.editUserName = editUserName;
    }

    public void setEditUserTime(Date editUserTime) {
        this.editUserTime = editUserTime;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof GradingDetailEntity)) {
            return false;
        } else {
            GradingDetailEntity other = (GradingDetailEntity)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label287: {
                    Object this$seqId = this.getSeqId();
                    Object other$seqId = other.getSeqId();
                    if (this$seqId == null) {
                        if (other$seqId == null) {
                            break label287;
                        }
                    } else if (this$seqId.equals(other$seqId)) {
                        break label287;
                    }

                    return false;
                }

                Object this$supplierId = this.getSupplierId();
                Object other$supplierId = other.getSupplierId();
                if (this$supplierId == null) {
                    if (other$supplierId != null) {
                        return false;
                    }
                } else if (!this$supplierId.equals(other$supplierId)) {
                    return false;
                }

                Object this$serialNum = this.getSerialNum();
                Object other$serialNum = other.getSerialNum();
                if (this$serialNum == null) {
                    if (other$serialNum != null) {
                        return false;
                    }
                } else if (!this$serialNum.equals(other$serialNum)) {
                    return false;
                }

                label266: {
                    Object this$seqNum = this.getSeqNum();
                    Object other$seqNum = other.getSeqNum();
                    if (this$seqNum == null) {
                        if (other$seqNum == null) {
                            break label266;
                        }
                    } else if (this$seqNum.equals(other$seqNum)) {
                        break label266;
                    }

                    return false;
                }

                label259: {
                    Object this$supplierCode = this.getSupplierCode();
                    Object other$supplierCode = other.getSupplierCode();
                    if (this$supplierCode == null) {
                        if (other$supplierCode == null) {
                            break label259;
                        }
                    } else if (this$supplierCode.equals(other$supplierCode)) {
                        break label259;
                    }

                    return false;
                }

                Object this$supplierName = this.getSupplierName();
                Object other$supplierName = other.getSupplierName();
                if (this$supplierName == null) {
                    if (other$supplierName != null) {
                        return false;
                    }
                } else if (!this$supplierName.equals(other$supplierName)) {
                    return false;
                }

                Object this$billNo = this.getBillNo();
                Object other$billNo = other.getBillNo();
                if (this$billNo == null) {
                    if (other$billNo != null) {
                        return false;
                    }
                } else if (!this$billNo.equals(other$billNo)) {
                    return false;
                }

                label238: {
                    Object this$weight = this.getWeight();
                    Object other$weight = other.getWeight();
                    if (this$weight == null) {
                        if (other$weight == null) {
                            break label238;
                        }
                    } else if (this$weight.equals(other$weight)) {
                        break label238;
                    }

                    return false;
                }

                label231: {
                    Object this$levelCode = this.getLevelCode();
                    Object other$levelCode = other.getLevelCode();
                    if (this$levelCode == null) {
                        if (other$levelCode == null) {
                            break label231;
                        }
                    } else if (this$levelCode.equals(other$levelCode)) {
                        break label231;
                    }

                    return false;
                }

                Object this$originalLevelCode = this.getOriginalLevelCode();
                Object other$originalLevelCode = other.getOriginalLevelCode();
                if (this$originalLevelCode == null) {
                    if (other$originalLevelCode != null) {
                        return false;
                    }
                } else if (!this$originalLevelCode.equals(other$originalLevelCode)) {
                    return false;
                }

                label217: {
                    Object this$changeLevelWhenPrint = this.getChangeLevelWhenPrint();
                    Object other$changeLevelWhenPrint = other.getChangeLevelWhenPrint();
                    if (this$changeLevelWhenPrint == null) {
                        if (other$changeLevelWhenPrint == null) {
                            break label217;
                        }
                    } else if (this$changeLevelWhenPrint.equals(other$changeLevelWhenPrint)) {
                        break label217;
                    }

                    return false;
                }

                Object this$barcode = this.getBarcode();
                Object other$barcode = other.getBarcode();
                if (this$barcode == null) {
                    if (other$barcode != null) {
                        return false;
                    }
                } else if (!this$barcode.equals(other$barcode)) {
                    return false;
                }

                label203: {
                    Object this$slaughterType = this.getSlaughterType();
                    Object other$slaughterType = other.getSlaughterType();
                    if (this$slaughterType == null) {
                        if (other$slaughterType == null) {
                            break label203;
                        }
                    } else if (this$slaughterType.equals(other$slaughterType)) {
                        break label203;
                    }

                    return false;
                }

                Object this$gender = this.getGender();
                Object other$gender = other.getGender();
                if (this$gender == null) {
                    if (other$gender != null) {
                        return false;
                    }
                } else if (!this$gender.equals(other$gender)) {
                    return false;
                }

                Object this$mjType = this.getMjType();
                Object other$mjType = other.getMjType();
                if (this$mjType == null) {
                    if (other$mjType != null) {
                        return false;
                    }
                } else if (!this$mjType.equals(other$mjType)) {
                    return false;
                }

                label182: {
                    Object this$createUserCode = this.getCreateUserCode();
                    Object other$createUserCode = other.getCreateUserCode();
                    if (this$createUserCode == null) {
                        if (other$createUserCode == null) {
                            break label182;
                        }
                    } else if (this$createUserCode.equals(other$createUserCode)) {
                        break label182;
                    }

                    return false;
                }

                label175: {
                    Object this$createUserName = this.getCreateUserName();
                    Object other$createUserName = other.getCreateUserName();
                    if (this$createUserName == null) {
                        if (other$createUserName == null) {
                            break label175;
                        }
                    } else if (this$createUserName.equals(other$createUserName)) {
                        break label175;
                    }

                    return false;
                }

                Object this$createUserTime = this.getCreateUserTime();
                Object other$createUserTime = other.getCreateUserTime();
                if (this$createUserTime == null) {
                    if (other$createUserTime != null) {
                        return false;
                    }
                } else if (!this$createUserTime.equals(other$createUserTime)) {
                    return false;
                }

                Object this$createBeginTime = this.getCreateBeginTime();
                Object other$createBeginTime = other.getCreateBeginTime();
                if (this$createBeginTime == null) {
                    if (other$createBeginTime != null) {
                        return false;
                    }
                } else if (!this$createBeginTime.equals(other$createBeginTime)) {
                    return false;
                }

                label154: {
                    Object this$createEndTime = this.getCreateEndTime();
                    Object other$createEndTime = other.getCreateEndTime();
                    if (this$createEndTime == null) {
                        if (other$createEndTime == null) {
                            break label154;
                        }
                    } else if (this$createEndTime.equals(other$createEndTime)) {
                        break label154;
                    }

                    return false;
                }

                label147: {
                    Object this$editUserCode = this.getEditUserCode();
                    Object other$editUserCode = other.getEditUserCode();
                    if (this$editUserCode == null) {
                        if (other$editUserCode == null) {
                            break label147;
                        }
                    } else if (this$editUserCode.equals(other$editUserCode)) {
                        break label147;
                    }

                    return false;
                }

                Object this$editUserName = this.getEditUserName();
                Object other$editUserName = other.getEditUserName();
                if (this$editUserName == null) {
                    if (other$editUserName != null) {
                        return false;
                    }
                } else if (!this$editUserName.equals(other$editUserName)) {
                    return false;
                }

                Object this$editUserTime = this.getEditUserTime();
                Object other$editUserTime = other.getEditUserTime();
                if (this$editUserTime == null) {
                    if (other$editUserTime != null) {
                        return false;
                    }
                } else if (!this$editUserTime.equals(other$editUserTime)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof GradingDetailEntity;
    }

    public int hashCode() {
        int result = 1;
        Object $seqId = this.getSeqId();
        result = result * 59 + ($seqId == null ? 43 : $seqId.hashCode());
        Object $supplierId = this.getSupplierId();
        result = result * 59 + ($supplierId == null ? 43 : $supplierId.hashCode());
        Object $serialNum = this.getSerialNum();
        result = result * 59 + ($serialNum == null ? 43 : $serialNum.hashCode());
        Object $seqNum = this.getSeqNum();
        result = result * 59 + ($seqNum == null ? 43 : $seqNum.hashCode());
        Object $supplierCode = this.getSupplierCode();
        result = result * 59 + ($supplierCode == null ? 43 : $supplierCode.hashCode());
        Object $supplierName = this.getSupplierName();
        result = result * 59 + ($supplierName == null ? 43 : $supplierName.hashCode());
        Object $billNo = this.getBillNo();
        result = result * 59 + ($billNo == null ? 43 : $billNo.hashCode());
        Object $weight = this.getWeight();
        result = result * 59 + ($weight == null ? 43 : $weight.hashCode());
        Object $levelCode = this.getLevelCode();
        result = result * 59 + ($levelCode == null ? 43 : $levelCode.hashCode());
        Object $originalLevelCode = this.getOriginalLevelCode();
        result = result * 59 + ($originalLevelCode == null ? 43 : $originalLevelCode.hashCode());
        Object $changeLevelWhenPrint = this.getChangeLevelWhenPrint();
        result = result * 59 + ($changeLevelWhenPrint == null ? 43 : $changeLevelWhenPrint.hashCode());
        Object $barcode = this.getBarcode();
        result = result * 59 + ($barcode == null ? 43 : $barcode.hashCode());
        Object $slaughterType = this.getSlaughterType();
        result = result * 59 + ($slaughterType == null ? 43 : $slaughterType.hashCode());
        Object $gender = this.getGender();
        result = result * 59 + ($gender == null ? 43 : $gender.hashCode());
        Object $mjType = this.getMjType();
        result = result * 59 + ($mjType == null ? 43 : $mjType.hashCode());
        Object $createUserCode = this.getCreateUserCode();
        result = result * 59 + ($createUserCode == null ? 43 : $createUserCode.hashCode());
        Object $createUserName = this.getCreateUserName();
        result = result * 59 + ($createUserName == null ? 43 : $createUserName.hashCode());
        Object $createUserTime = this.getCreateUserTime();
        result = result * 59 + ($createUserTime == null ? 43 : $createUserTime.hashCode());
        Object $createBeginTime = this.getCreateBeginTime();
        result = result * 59 + ($createBeginTime == null ? 43 : $createBeginTime.hashCode());
        Object $createEndTime = this.getCreateEndTime();
        result = result * 59 + ($createEndTime == null ? 43 : $createEndTime.hashCode());
        Object $editUserCode = this.getEditUserCode();
        result = result * 59 + ($editUserCode == null ? 43 : $editUserCode.hashCode());
        Object $editUserName = this.getEditUserName();
        result = result * 59 + ($editUserName == null ? 43 : $editUserName.hashCode());
        Object $editUserTime = this.getEditUserTime();
        result = result * 59 + ($editUserTime == null ? 43 : $editUserTime.hashCode());
        return result;
    }

    public String toString() {
        return "GradingDetailEntity(seqId=" + this.getSeqId() + ", supplierId=" + this.getSupplierId() + ", supplierCode=" + this.getSupplierCode() + ", supplierName=" + this.getSupplierName() + ", billNo=" + this.getBillNo() + ", weight=" + this.getWeight() + ", levelCode=" + this.getLevelCode() + ", originalLevelCode=" + this.getOriginalLevelCode() + ", changeLevelWhenPrint=" + this.getChangeLevelWhenPrint() + ", serialNum=" + this.getSerialNum() + ", seqNum=" + this.getSeqNum() + ", barcode=" + this.getBarcode() + ", slaughterType=" + this.getSlaughterType() + ", gender=" + this.getGender() + ", mjType=" + this.getMjType() + ", createUserCode=" + this.getCreateUserCode() + ", createUserName=" + this.getCreateUserName() + ", createUserTime=" + this.getCreateUserTime() + ", createBeginTime=" + this.getCreateBeginTime() + ", createEndTime=" + this.getCreateEndTime() + ", editUserCode=" + this.getEditUserCode() + ", editUserName=" + this.getEditUserName() + ", editUserTime=" + this.getEditUserTime() + ")";
    }
}
